package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-10-19  14:42
 * @Description:档案签约档案管理的主页列表适配器
 */
public class FileSignatureManage implements Parcelable {


    /**
     * businessTypeName : 通用模板
     * catalogName : 未分类
     * createSerialNo :
     * createTime : 1696823817000
     * signTemplateId : 1696823817977195295
     * signTemplateName : 汽车销售合同
     * signTemplateStatus : valid
     * storageType : 法大大公有云
     * updateTime : 1696825305000
     */

//    {
//        "code": "20000",
//            "data": [
//        {
//                "businessTypeName": "通用模板",
//                "catalogName": "未分类",
//                "createSerialNo": "",
//                "createTime": "1696823817000",
//                "signTemplateId": "1696823817977195295", //模板ID
//                "signTemplateName": "汽车销售合同", //模板名称
//                "signTemplateStatus": "valid", //签署任务模板状态：invalid: 停用；valid: 启用
//                "storageType": "法大大公有云",
//                "updateTime": "1696825305000"
//        }
//        ],
//        "message": "success"
//    }


//                "archiveTypeId": 0,
//                        "archivesManageList": [],
//                        "auditBy": 0,
//                        "auditStatus": 0,
//                        "carBranchName": "",
//                        "carSeriesName": "",
//                        "clientId": 7,
//                        "clientName": "",
//                        "clientPhone": "18210506654",
//                        "clientType": 0,
//                        "communityId": 2,
//                        "communityName": "长安国际汽车产业园",
//                        "companyId": 13,
//                        "createBy": 63056,
//                        "createTime": "2023-10-26 18:47:22",
//                        "informationAccessoryList": [],
//                        "informationAccessoryUrlList": [],
//                        "informationId": 6,
//                        "informationNo": "169831724257058800",
//                        "informationStatus": "",
//                        "isDelete": 0,
//                        "reason": "",
//                        "shopInfoId": 1499,
//                        "shopInfoName": "特斯拉体验店",
//                        "templateVos": [],
//                        "updateBy": 0,
//                        "updateType": 0,
//                        "vehicleList": [],
//                        "vehicleType": 0

    private String businessTypeName;
    private String catalogName;
    private String createSerialNo;
    private String createTime;
    private String signTemplateId;
    private String signTemplateName;
    //    private String signTemplateStatus;
    private transient String storageType;
    private transient String updateTime;

    //档案编号
    private String informationNo;

    //合同状态
    private String auditStatus;
    //乙方电话
    private String clientPhone;

    //合同的类型，也就是 新车 或者二手车；
    private String vehicleType;

    //该档案的id内容
    private String informationId;

    //销售经理的id内容
    private String managerId;
    //该条签署任务的任务id;
    private String signTaskId;
    //客户姓名，也即是  乙方姓名
    private String clientName;
    //店铺名称
    private String shopInfoName;
    private String communityName;

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getShopInfoName() {
        return shopInfoName;
    }

    public void setShopInfoName(String shopInfoName) {
        this.shopInfoName = shopInfoName;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public String getSignTaskId() {
        return signTaskId;
    }

    public void setSignTaskId(String signTaskId) {
        this.signTaskId = signTaskId;
    }

    public String getInformationId() {
        return informationId;
    }

    public void setInformationId(String informationId) {
        this.informationId = informationId;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public String getInformationNo() {
        return informationNo;
    }

    public void setInformationNo(String informationNo) {
        this.informationNo = informationNo;
    }

    public String getBusinessTypeName() {
        return businessTypeName;
    }

    public void setBusinessTypeName(String businessTypeName) {
        this.businessTypeName = businessTypeName;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getCreateSerialNo() {
        return createSerialNo;
    }

    public void setCreateSerialNo(String createSerialNo) {
        this.createSerialNo = createSerialNo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getSignTemplateId() {
        return signTemplateId;
    }

    public void setSignTemplateId(String signTemplateId) {
        this.signTemplateId = signTemplateId;
    }

    public String getSignTemplateName() {
        return signTemplateName;
    }

    public void setSignTemplateName(String signTemplateName) {
        this.signTemplateName = signTemplateName;
    }

    public String getStorageType() {
        return storageType;
    }

    public void setStorageType(String storageType) {
        this.storageType = storageType;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }


    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.businessTypeName);
        dest.writeString(this.catalogName);
        dest.writeString(this.createSerialNo);
        dest.writeString(this.createTime);
        dest.writeString(this.signTemplateId);
        dest.writeString(this.signTemplateName);
        dest.writeString(this.informationNo);
        dest.writeString(this.auditStatus);
        dest.writeString(this.clientPhone);
        dest.writeString(this.vehicleType);
        dest.writeString(this.informationId);
        dest.writeString(this.managerId);
        dest.writeString(this.signTaskId);
        dest.writeString(this.clientName);
        dest.writeString(this.shopInfoName);
        dest.writeString(this.communityName);
    }

    public void readFromParcel(Parcel source) {
        this.businessTypeName = source.readString();
        this.catalogName = source.readString();
        this.createSerialNo = source.readString();
        this.createTime = source.readString();
        this.signTemplateId = source.readString();
        this.signTemplateName = source.readString();
        this.informationNo = source.readString();
        this.auditStatus = source.readString();
        this.clientPhone = source.readString();
        this.vehicleType = source.readString();
        this.informationId = source.readString();
        this.managerId = source.readString();
        this.signTaskId = source.readString();
        this.clientName = source.readString();
        this.shopInfoName = source.readString();
        this.communityName = source.readString();
    }

    public FileSignatureManage() {
    }

    protected FileSignatureManage(Parcel in) {
        this.businessTypeName = in.readString();
        this.catalogName = in.readString();
        this.createSerialNo = in.readString();
        this.createTime = in.readString();
        this.signTemplateId = in.readString();
        this.signTemplateName = in.readString();
        this.informationNo = in.readString();
        this.auditStatus = in.readString();
        this.clientPhone = in.readString();
        this.vehicleType = in.readString();
        this.informationId = in.readString();
        this.managerId = in.readString();
        this.signTaskId = in.readString();
        this.clientName = in.readString();
        this.shopInfoName = in.readString();
        this.communityName = in.readString();
    }

    public static final Parcelable.Creator<FileSignatureManage> CREATOR = new Parcelable.Creator<FileSignatureManage>() {
        @Override
        public FileSignatureManage createFromParcel(Parcel source) {
            return new FileSignatureManage(source);
        }

        @Override
        public FileSignatureManage[] newArray(int size) {
            return new FileSignatureManage[size];
        }
    };
}
